<html>
<head>
<style>
@page {
  size: 100px 70px;
  margin: 0;
}
</style>
</head>
<body>
<!-- The inner green block should float to the right inside the inline-block. -->
<span style="display: inline-block; width: 75%; height: 20px; background-color: red; border: 2px solid black;">
<div style="float: right; width: 50%; background-color: green; height: 10px;"></div>
</span>
</body>
</html>
